

<?php echo $header; ?>
    <div class="content">
    	<div class="bodyLeft">
        	<?php echo $column_left; ?>
        </div><!-- end body left -->
        <div class="bodyRight">
        	<?php require_once("catalog/view/theme/fritids/template/slideshow/slider.php"); ?>
            <div class="body-content">
            	<div class="heading">
                    <h2>FORHANDLERLISTE</h2>
                    <img class="imgTemp" src="catalog/view/theme/fritids/src/images/imgTemp1.png" />
                    <div class="clear"></div>
                </div>
                <div id="partner-list">
                <?php 
				$query ="select * from banner";
				$q=mysql_query($query);
				$rows=mysql_num_rows($q);
				if ($rows==0)
				{
					echo "<h1>No partner to display<h1>";
				}
				else
				{
					while($temp=mysql_fetch_assoc($q)){?>
				
				<ul>
				<li><a target="_blank" href="http://<?php echo $temp['gallery_weblink']; ?>"><img src="./image/<?php echo $temp['gallery_image']; ?> " width="217" height="141"/></a></li>
				</ul>  
					<?php }
				} 
				?>
                 <!--   <ul>
                       <li><a target="_blank" href="http://mywebcreations.dk"><img src="catalog/view/theme/fritids/image/partnert8.jpg" /></a></li>
                        <li><a target="_blank" href="http://mywebcreations.dk"><img src="catalog/view/theme/fritids/image/partnert2.jpg" /></a></li>
                        <li><a target="_blank" href="http://mywebcreations.dk"><img src="catalog/view/theme/fritids/image/partnert3.jpg" /></a></li>
                        <li><a target="_blank" href="http://mywebcreations.dk"><img src="catalog/view/theme/fritids/image/partnert4.jpg" /></a></li>
                        <li><a target="_blank" href="http://mywebcreations.dk"><img src="catalog/view/theme/fritids/image/partnert5.jpg" /></a></li>
                        <li><a target="_blank" href="http://mywebcreations.dk"><img src="catalog/view/theme/fritids/image/partnert6.jpg" /></a></li>
                        <li><a target="_blank" href="http://mywebcreations.dk"><img src="catalog/view/theme/fritids/image/partnert7.jpg" /></a></li>
                        <li><a target="_blank" href="http://mywebcreations.dk"><img src="catalog/view/theme/fritids/image/partnert8.jpg" /></a></li>
                        <li><a target="_blank" href="http://mywebcreations.dk"><img src="catalog/view/theme/fritids/image/partnert9.jpg" /></a></li>
                    </ul> -->
                    <div class="clear"></div>
                </div>
            </div>
        </div><!-- end  body right -->
    </div><!-- end div content -->
    <?php echo $footer; ?>